<?php include_once('header.tpl.php'); ?>

<div id="contentWrapWrap">
	<div id="contentWrap">
	
		<div id="contentTop"></div>
		
		<div id="contentMid">

			<div class="column1">
				<div id="column1Top"></div>
					<div class="col1Pad">
						<?php if ($sidebar_left): ?>
							<div id="sidebar-left" class="sidebar">
								<?php print $sidebar_left ?>
							</div>
							<div id="searchBox">
								<?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
							</div>
						<?php endif; ?>
						<div class="clear"></div>
					</div>
				<div id="column1Btm"></div>
			</div>
      		<div class="column2Alt">
            	<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
					
					<?php if ($tabs): print $tabs .'</div>'; endif; ?>
					
					<?php if (isset($tabs2)): print $tabs2; endif; ?>
					
					<?php if ($help): print $help; endif; ?>
					<?php if ($messages): print $messages; endif; ?>
				<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
				<?php if ($help): print $help; endif; ?>
				<?php if ($messages): print $messages; endif; ?>
				<?php print $content ?>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
			
		</div>

		
		<div id="contentBtm">
			<?php print $feed_icons ?>
		</div>
		<div class="clear"></div>
	</div>
</div>

<?php include_once('footer.tpl.php'); ?>
